Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a11y: Result accordions non-expanding option #3150

Merged
merged 1 commit into from
May 17, 2024

Conversation

ianjon3s
Copy link
Contributor

@ianjon3s ianjon3s commented May 15, 2024

What does this PR do?

Address issue where result summaries that do not have expandable content (help text) are still given expand functionality and associated aria labels.

To prevent this the accordion component is only used if there is associated content to expand.

Current:
https://editor.planx.dev/testing/result/published

Updated:
https://3150.planx.pizza/testing/result/published?analytics=false

Copy link

github-actions bot commented May 15, 2024

Removed vultr server and associated DNS entries

@ianjon3s ianjon3s marked this pull request as ready for review May 17, 2024 08:29
@ianjon3s ianjon3s requested a review from a team May 17, 2024 08:30
Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good catch! 👏 Nice simple solution also

@ianjon3s ianjon3s merged commit e59fc34 into main May 17, 2024
12 checks passed
@ianjon3s ianjon3s deleted the ian/a11y-fix-empty-accordions branch May 17, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants